﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LoginControl.aspx.cs" Inherits="LoginControl_LoginControl" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>LoginControl</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Login ID="Login1" runat="server">
            <LayoutTemplate>
                <table border="0" cellpadding="1" cellspacing="0" style="border-collapse: collapse">
                    <tr>
                        <td style="width: 124px; height: 21px">
                        </td>
                    </tr>
                </table>
            </LayoutTemplate>
        </asp:Login>
    
    </div>
        <asp:LoginView ID="LoginView1" runat="server">
            <AnonymousTemplate>
                <table border="0" cellpadding="0">
                    <tr>
                        <td align="center" colspan="2">
                            登录</td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 103px">
                            <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">用户名:</asp:Label></td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 103px">
                            <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">密码:</asp:Label></td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <asp:CheckBox ID="RememberMe" runat="server" Text="下次记住我。" />
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2" style="color: red">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td align="right" colspan="2">
                            <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="登录" ValidationGroup="Login1" />
                        </td>
                    </tr>
                </table>
            </AnonymousTemplate>
        </asp:LoginView>
    </form>
</body>
</html>
